package com.ruoyi.web.wuliu.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 测试对象 user_order
 * 
 * @author ruoyi
 * @date 2023-11-15
 */
@ApiModel("用户订单信息")
public class UserOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private String id;

    /** 用户ID */
    @Excel(name = "用户ID")
    @ApiModelProperty("用户ID")
    private String userId;

    /** 物流订单ID */
    @Excel(name = "物流订单ID")
    @ApiModelProperty("物流订单ID")
    private String materialId;

    /** 0未中标1中标2已装货3已卸货4完成5撤销订单 */
    @Excel(name = "0未中标1中标2已装货3已卸货4完成5撤销订单6接单中")
    @ApiModelProperty("0未中标1中标2已装货3已卸货4完成5撤销订单6接单中")
    private String status;

    /** 装货图片 */
    @Excel(name = "装货图片")
    @ApiModelProperty("装货图片")
    private String loadingPicture;

    /** 卸货图片 */
    @Excel(name = "卸货图片")
    @ApiModelProperty("卸货图片")
    private String unloadPicture;

    /** 装货时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "装货时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("装货时间")
    private Date loadingTime;

    /** 卸货时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "卸货时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("卸货时间")
    private Date unloadTime;

    /** 完成时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "完成时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty("完成时间")
    private Date completionTime;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }
    public void setMaterialId(String materialId) 
    {
        this.materialId = materialId;
    }

    public String getMaterialId() 
    {
        return materialId;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }
    public void setLoadingPicture(String loadingPicture) 
    {
        this.loadingPicture = loadingPicture;
    }

    public String getLoadingPicture() 
    {
        return loadingPicture;
    }
    public void setUnloadPicture(String unloadPicture) 
    {
        this.unloadPicture = unloadPicture;
    }

    public String getUnloadPicture() 
    {
        return unloadPicture;
    }
    public void setLoadingTime(Date loadingTime) 
    {
        this.loadingTime = loadingTime;
    }

    public Date getLoadingTime() 
    {
        return loadingTime;
    }
    public void setUnloadTime(Date unloadTime) 
    {
        this.unloadTime = unloadTime;
    }

    public Date getUnloadTime() 
    {
        return unloadTime;
    }
    public void setCompletionTime(Date completionTime) 
    {
        this.completionTime = completionTime;
    }

    public Date getCompletionTime() 
    {
        return completionTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("materialId", getMaterialId())
            .append("status", getStatus())
            .append("loadingPicture", getLoadingPicture())
            .append("unloadPicture", getUnloadPicture())
            .append("loadingTime", getLoadingTime())
            .append("unloadTime", getUnloadTime())
            .append("createTime", getCreateTime())
            .append("completionTime", getCompletionTime())
            .toString();
    }
}
